<?php
// ** MySQL settings ** //
//define('DB_NAME', 'northwind');    // The name of the database
//define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value

define('DB_DSN','mysql:host=localhost;dbname=hs');
define('DB_USER', 'healthsolution');     // Your MySQL username
define('DB_PASSWORD', 'vg678GG'); // ...and password


$dir=getcwd();

//echo $dir;        //DEBUG FD
//echo "<script>alert('DIR: ".$dir."');</script>";   //DEBUG FD

//////////////HEALTHSOLUTIONS/////////////////////////////
if($dir=="/var/www/g2k_7448/data/www/healthsolutions.com.ar/Internacion/Grid")
{
       define('ABSPATH',"../../jqSuitePHP_4_1_2_2/");
}
else if ($dir=="/var/www/g2k_7448/data/www/healthsolutions.com.ar/Internacion")
{
        define('ABSPATH',"../jqSuitePHP_4_1_2_2/"); 
}
else if ($dir=="/var/www/g2k_7448/data/www/healthsolutions.com.ar")
{
    define('ABSPATH',"jqSuitePHP_4_1_2_2/");
}

//////////////////////HS/////////////////////////////////////
else if ($dir=='C:\xampp\htdocs\HS\Internacion\Grid')
{
    define('ABSPATH',"/../../jqSuitePHP_4_1_2_2/");
}
else if ($dir=='C:\xampp\htdocs\HS\Internacion')
{
    define('ABSPATH',"../jqSuitePHP_4_1_2_2/");
}
else if ($dir=='C:\xampp\htdocs\HS')
{ 
    define('ABSPATH',"/jqSuitePHP_4_1_2_2/");
}
else if ($dir=='C:\xampp\htdocs\hs')
{ 
    define('ABSPATH',"/jqSuitePHP_4_1_2_2/");
}
else
{ 
    define('ABSPATH',"../../jqSuitePHP_4_1_2_2/");
}
//echo $dir;
//echo "<script>alert('".$dir."');</script>";
//define('ABSPATH', dirname(__FILE__).'/');
//define('ABSPATH','/var/www/g2k_7448/data/www/healthsolutions.com.ar/jqSuitePHP_4_1_2_2/');
//define('ABSPATH',$dir."../jqSuitePHP_4_1_2_2/");

//define('ABSPATH',$dir.'/');

//require_once(ABSPATH.'tabs.php');
?>